package k.daniel.databindingdemo;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import java.util.Date;

import k.daniel.databindingdemo.databinding.ActivityConverterBinding;


public class ConverterActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityConverterBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_converter);
        binding.setTime(new Date());
    }
}
